package mybag1;

import java.util.Scanner;

public abstract class Manager {
	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		System.out.println("***********欢迎光临腾飞汽车租赁系统***********");
		System.out.println("1.轿车   2.客车");
		System.out.println("请选择你要租赁的汽车类型：");
		int num = input.nextInt();
		if (num == 1) {
			System.out.println("请选择要租赁的汽车品牌：1.别克 2.宝马");
			int num1 = input.nextInt();
			if (num1 == 1) {
				Bieke b = new Bieke();
				b.calculate();
			} else if (num1 == 2) {
				Baoma m = new Baoma();
				m.calculate();
			}
		} else if (num == 2) {
			System.out.println("请选择要租赁的汽车品牌：1.金龙 2.金杯");
			int num1 = input.nextInt();
			if (num1 == 1) {
				Jinlong b = new Jinlong();
				b.calculate();
			} else if (num1 == 2) {
				Jinbei m = new Jinbei();
				m.calculate();
			}
		}
	}
}
